import {
  getNowDate
} from '../../../../utils/utils.js';
Component({
  properties: {
    userInfo: Object,
  },
  data: {
    nowDate: getNowDate(),
  },
  methods: {
    goToMinePage() {
      wx.switchTab({
        url: '/pages/mine/mine'
      });
    },
    goToAvatar() {
      wx.navigateTo({
        url: '/pages/mine/pages/userinfo/userinfo'
      });
    }
  }
})